$(function(){

	
$("#submit").click(function(){
//	if(!submitValidate()){
//		
//		return ;
//	}
	url_editCurrentUser = "oa-user/tbUserAction_editCurrentUser.action";
	req_editCurrentUser = {
		'tbUser.tbUserId':$("#userId").text(),
		'tbUser.name':$("#uName").attr("value"),
		'tbUser.password':$("#uPassword").attr("value")
	};
	
	$.post(url_editCurrentUser,req_editCurrentUser,function(data){
		alert(data.result);
		location.href="users.jsp";
	});
	
});

});


function validate(){
	
//	$("#uId").attr("value");
	//未实现
	
}
